package net.ericaro.neojavagen.expressions ;
import net.ericaro.neojavagen.classes.NonWildTypeArguments;
import net.ericaro.neojavagen.expressions.Arguments;
import net.ericaro.neojavagen.types.Identifier ;

/**
* *<pre> MethodInvocationBody :
    NonWildTypeArguments? Identifier ( Arguments )
</pre>
*/
public class MethodInvocationBody   {

NonWildTypeArguments nonwildtypearguments;
Identifier identifier;
Arguments arguments ;

public MethodInvocationBody( NonWildTypeArguments nonwildtypearguments, Identifier identifier, Arguments arguments ){
	this.nonwildtypearguments = nonwildtypearguments; this.identifier = identifier; this.arguments = arguments ;
	}public MethodInvocationBody( Identifier identifier, Arguments arguments ){
this.identifier = identifier; this.arguments = arguments ;
}


public String toString(){
	StringBuilder stringbuilder = new StringBuilder();
	if (this.nonwildtypearguments !=null ) stringbuilder.append( this.nonwildtypearguments ).append(" ");
stringbuilder.append( this.identifier ).append(" ");
stringbuilder.append( "(" ).append(" ");
stringbuilder.append( this.arguments ).append(" ");
stringbuilder.append( ")" ).append(" ") ;
	return stringbuilder.toString();
}

}
